//头像

const Portrait = props => {
    //两个形状默认为方形，加入shape属性就是圆形，为Boolean值，true为圆 false为方
    if (props.shape) {
        return (
            <div>
                <img src="" alt=""/>
            </div>
        )
    } else {
        return (
            <div>
                <img src="" alt=""/>
            </div>
        )
    }
}
export default Portrait
